import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);
import Home from "/src/views/Home";
import About from "/src/views/About";
const routes = [
  { path: "/", redirect: "/Home" },
  { path: "/Home", component: Home },
  { path: "/About", component: About },
];
const router = new VueRouter({
  routes,
});
export default router;
